<template>
	<view>
		<buy-cart ref="buyCartRef"></buy-cart>
		<!-- <TabBar tabBarShow="1" ></TabBar> -->
	</view>
</template>

<script>
	import buyCart from '@/components/index/buy-cart.vue'
	import TabBar from '@/components/TabBar/TabBar.vue';

	export default {
		data() {
			return {

			}
		},
		async onLoad(options) {
			await this.vc.onLoad(options).then(_suc => {}, _err => {});
			this.vc.loginAuth(options);
		},
		onShow() {
			let _that =this;
			setTimeout(function(){
				_that.$refs.buyCartRef._loadStoreCart();
			},1000);
		},
		components: {
			buyCart,
			TabBar
		},
		methods: {

		}
	}
</script>

<style>

</style>